#ifndef DLGROBOTLIST_H
#define DLGROBOTLIST_H

#include <QDialog>
#include "RobotDef.h"
#include <QDebug>
#include <QMessageBox>
#include <QJsonObject>
#include <QJsonDocument>
#include <QJsonParseError>

namespace Ui {
class DlgRobotList;
}

class DlgRobotList : public QDialog
{
    Q_OBJECT

public:
    explicit DlgRobotList(QWidget *parent = 0);
    ~DlgRobotList();

signals:
    void sig_update();
    void sig_conn(QString mac);

public slots:
    void updateTableWidget(const Ice::StringSeq &strlist);


private slots:
    void on_pushButton_conn_clicked();

    void on_pushButton_cancel_clicked();

    void on_pushButton_update_clicked();

private:
    Ui::DlgRobotList *ui;
};

#endif // DLGROBOTLIST_H
